home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': 'Kris Zaklika',
- 'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
- 'Description': 'A ghostly or X-Files effect. Original idea: Angela M. Cable.',
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.00'
- }
-
- def Preset_MagnifyingLens():
- return {
- 'Bound': (0.07625,0.0633333,0.92625,0.936667),
- 'Darkness': 100,
- 'Defocus': 0,
- 'Frame': {
- 'FrameColor': (255,255,255),
- 'Material': App.Constants.LensFrameMaterial.BeigePlastic,
- 'Style': App.Constants.LensFrameShape.Circular,
- 'Thickness': 20
- },
- 'Illumination': {
- 'LightList': [{
- 'LightColor': (19,120,0),
- 'LightDirection': (-0.9942,0.5959,-0.0063),
- 'HighlightSize': 99
- },{
- 'LightColor': (0,255,0),
- 'LightDirection': (0.73735,-0.38265,0.556681),
- 'HighlightSize': 7
- }],
- 'MaxAmbience': 37,
- 'MinAmbience': 30
- },
- 'LensSurface': {
- 'EnvironmentMap': {
- 'Active': App.Constants.Boolean.false
- },
- 'Gloss': 67,
- 'Magnification': 0,
- 'LensMaterial': {
- 'Color': (253,57,152),
- 'Pattern': None,
- 'Gradient': None,
- 'Texture': None
- },
- 'LensOpacity': 60,
- 'Refraction': 0,
- 'ShapeType': App.Constants.LensShape.Spherical,
- 'Shininess': 94
- }
- }
-
- def Do(Environment):
- App.Do( Environment, 'MagnifyingLens', Preset_MagnifyingLens())
-
-